

<legend>
    Add New Facility
</legend>       
<form class="width-290 box" id="add-facility" method="post" action="../AddFacility">



    <p>
        <label for="facility-name">Facility Name</label>
        <input type="text" required name="facility-name" id="facility-name" class="input-xlarge" placeholder="Enter name of Facility">
    </p>

    <p class="textarea-nice">
        <label for="description" >Facility Description</label>
        <textarea name="description" class="input-block-level" id="description" required rows="6" > </textarea>
    </p>

    <p>
        <label class="checkbox">
            <input type="checkbox" name="Activestatus"> Check the box to make the Facility Active.
        </label>

    </p>

    <p>
        <input type="submit" class="btn btn-primary btn-large" value="Save" name="submit">
    </p>
    <p>
        <label class="text-success"> Display the "succesfully saved" message here on successfull submission</label>
    </p>
</form>



<hr>

<footer>
    <p>&copy; The Prime Resort, 2012</p>
</footer>

</div> <!-- /container -->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.1.min.js"><\/script>')</script>

<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/nicEdit.js"></script><!-- including nicedit js-->
<script src="js/main.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script type="text/javascript">
        
    $(document).ready(function() { 
			 	 
        // form validation
        $("#add-facility").validate();
				 
    });
			
    bkLib.onDomLoaded(function() { //assigning nicedit to textarea 
        new nicEditor({fullPanel : true,iconsPath : 'js/nicEditorIcons.gif',xhtml: true}).panelInstance('description');
    });
        
</script>

